package thread.basic.runnable;

public class TreadTest2 {
	public static void main(String[] args) {
		Print1To50_2 p1 = new Print1To50_2();
		PrintAToZ_2 p2 = new PrintAToZ_2();
		Thread t1 = new Thread(p1);
		Thread t2 = new Thread(p2);
		
		Thread t3 = new Thread(new Print1To50_2());
		//new Thread(new Print1To50_2().start());
		//이것도 한줄로 줄인거!
		t1.start();
		t2.start();
		t3.start();
		t1.run();//이것과 start의 차이를 알아야 한다!
		
	}
}
